package com.xiaoxin.experience.service.ssh.model;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author xiaoxin
 */
@Setter
@Getter
public class LastQueryInfo implements Serializable
{
    private static final long serialVersionUID = 7386087929796966414L;

    private String path;

    private int queryMode;

    private String queryContent;

    public LastQueryInfo()
    {

    }

    public static LastQueryInfo defaultInfo()
    {
        LastQueryInfo lastQueryInfo = new LastQueryInfo();
        lastQueryInfo.setPath("D:/project/vpaas/vPass-Parent");
        lastQueryInfo.setQueryMode(4);
        lastQueryInfo.setQueryContent("[a-zA-Z-1-9]+.jar");
        return lastQueryInfo;
    }
}
